package com.example.springboot3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * app表
 * </p>
 *
 * @author scout.du
 * @since 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_app")
public class App implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String groupId;

    private String icon;

    private String owner;

    private Long goliveDate;

    private Integer createBy;

    private LocalDateTime createTime;

    private Integer updateBy;

    private LocalDateTime updateTime;

    private Integer delFlag;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String GROUP_ID = "group_id";

    public static final String ICON = "icon";

    public static final String OWNER = "owner";

    public static final String GOLIVE_DATE = "golive_date";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String DEL_FLAG = "del_flag";

}
